package cn.zyjblogs.starter.common.entity.jwt;

import io.jsonwebtoken.impl.DefaultClaims;

/**
 * @author zhuyijun
 */
public class OauthClaims extends DefaultClaims {

    public String getUserId(){
        return this.getString("user_id");
    }
    public void setUserId(String userId){
        this.setValue("user_id",userId);
    }
    public String getUsername(){
        return this.getString("username");
    }

    public void setUsername(String username){
        this.setValue("username", username);
    }
}
